home *** CD-ROM | disk | FTP | other *** search
/ Amiga Packmags / NewsFlash - Issue 19 (1991-08)(UGA - NewsFlash UK)(Disk 1 of 2).zip / NewsFlash - Issue 19 (1991-08)(UGA - NewsFlash UK)(Disk 1 of 2).adf / startup1 < prev   
Text File  |  1978-01-06  |  4KB  |  105 lines

  1. ; -=============================================================-
  2. ;
  3. ;           Newsflash Issue No.19 - Startup Sequence
  4. ;
  5. ;               Written by Martyn/Newsflash UK.
  6. ;
  7. ;  Normally we try and keep the sequence as short as possible
  8. ;  and never bother to comment it, but the aim is so that new
  9. ;  users can have a look at what is going on and maybe try a
  10. ;  few things out themselves.
  11. ;  
  12. ;  Users may also find that commenting their scripts is useful
  13. ;  in the beginning if only to keep track of what`s happening.
  14. ;
  15. ;  This file should also easily explain the utilities that are
  16. ;  located in the C (command) directory, you can of course copy
  17. ;  these to your own C dir and use them in the same way.
  18. ;
  19. ;
  20. echo "›0 p"
  21. ;
  22. ;  ECHO is normally used to print a message on the screen, this 
  23. ;  time we have used control characters (which won`t show up on
  24. ;  PPMORE) and this does the job of making the cursor the same
  25. ;  colour of the background, making it invisble and is purely 
  26. ;  included to neaten things up - what a tidy soul I am :-)
  27. c/border off
  28. ;
  29. ;ff >nil: siesta.font
  30. ;
  31. ;  FF is the FAST-FONTS program, not only can we speed up text but
  32. ;  also take advantage of using a better looking font that that horrid
  33. ;  boring, smelly TOPAZ 80. The `m`s are a bit dodgy with the SIESTA.FONT
  34. ;  but its nice to read and comfortable on the eyes.
  35. ;  You can of course get the siesta font for your own use by knicking it
  36. ;  out of the FONTS dir.
  37. ;
  38. ;  The >NIL: bit is whats called `redirecting`, the NIL: device is just
  39. ;  like a trashcan you can send any output to. For instance when you run
  40. ;  Fastfonts, it prints "Fast fonts installed" and other information, but
  41. ;  we can send this to the trash with >NIL: so no text is printed, rather
  42. ;  like the QUIET command of COPY.
  43. ;
  44. ;
  45. ;
  46. ;
  47. ;  Type the first little message onto the screen. The messages were 
  48. ;  prepared with TEXTPAINT, featured on Issue 10 of Newsflash. (very good!)
  49. ;
  50. ;  The type command used is a nice one too, it scrolls the current text off
  51. ;  screen and brings the new text on...
  52. ;
  53. message
  54. ;
  55. ;
  56. Version >nil: exec.library 36
  57. If WARN
  58.    prog/openlook >nil:
  59. Endif 
  60. ;  Openlook makes all the gadgets into fancy little 3D ones. 
  61. ;  This small utility doesn't run under Kickstart V2.0 so there is a
  62. ;  check (version,if,endif). If the exec.library is smaller (older)
  63. ;  than 36 the openlook command will be executed. Thanks for
  64. ;  this little improvement to Francois Nico
  65. ;
  66. ;
  67. ;
  68. ;nf19pack (already run in startup-sequence)
  69. ;  This pack contains all menufiles and the PPmore command to give you
  70. ;  a fast access to all menus and articles in Newsflash. The utility I
  71. ;  use for producing this pack of files was written as a in the house
  72. ;  utility by Daniel Ockeloen, a talented Dutch programmer.
  73. ;
  74. df0:c/assign s: ram:
  75. ;  Because we`ve now got our commands in RAM: we have to tell the Amiga to
  76. ;  stop searching the disk for the commands but look where we have put them,
  77. ;  we do this using assign. So now where it used to look for the C dir on the
  78. ;  disk it looks to ram:  This is known as `assigning logical devices`.
  79. ;  Because C: is a device, it holds the commands. There`s nothing stopping
  80. ;  you copying your whole C dir to ram (if you`ve enough ram!) and assigning
  81. ;  it with ASSIGN. Then you`ld have a hyper-quick CLI! Even better if you 
  82. ;  use a recoverable ram-disk...
  83. ;
  84. df0:c/zoomwindows quiet
  85. ;  a nice effect if there are windows opened...
  86. ;
  87. df0:powermenu 
  88. ;
  89. ;  Let loose the menu... 
  90. ;
  91. ; -=====================================================================-
  92. ;
  93. ;  That`s all folks.. easy when you think about it... I hope this file has
  94. ;  been of use to someone out there and it will encourage you to have a 
  95. ;  mess yourself and understand the CLI a little better, it really is quite
  96. ;  easy to understand once you realise all the jargon is used to show off
  97. ;  and be flash more than anything else..
  98. ;                                         Seeya.. Martyn/Newsflash UK.
  99. ; -====================================================================-
  100. ; AFTER EXIT MENU SYSTEM NEWSFLASH:
  101. df0:c/assign s: df0:s
  102. df0:c/setmap ut
  103. df0:menu2
  104.